package com.ciko.code.http.Req;

import com.ciko.code.constant.Api;
import com.ciko.code.http.BaseRequest;
import com.ciko.code.http.Res.QryBookSortListRes;
import com.mywork.WorkUIKit;
import com.orhanobut.logger.Logger;

/**
 * Created by ciko on 2015/11/29.
 */
public class QryBookSortListReq extends BaseRequest {

    public QryBookSortListReq() {
        init();
        putCid();
    }

    protected void init() {
        put("account", WorkUIKit.getUser().getAccount());
        put("timeStamp", getTimeStamp());
        putClientType();
        putAccountType();

    }

    protected void putCid() {
        Logger.e(WorkUIKit.getUser().getAccount() + getAccountType() + getClientType() + getTimeStamp());
        put("cid", cid(WorkUIKit.getUser().getAccount() + getAccountType() + getClientType() + getTimeStamp()));
    }

    @Override
    public String getUrl() {
        return Api.qryBookSortList;
    }

    @Override
    public Class<?> getResponseClazz() {
        return QryBookSortListRes.class;
    }
}
